package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author guizhao
 * @Description: 订单类型枚举类
 * @date 2018-08-06 11:40
 * */
public enum OrderTypeEnum implements BaseEnum {
    /**
     * 1.普通订单
     */
    GENERAL(1,"普通订单"),

    /**
     * 2.大纸订单
     */
    PAPER(2,"大纸订单"),
    ;

    private int id;
    private String describe;

    OrderTypeEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
